
<UserControl
	x:Class="Goldlight.SampleApplication.Views.ControlPanelView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:view="clr-namespace:Goldlight.SampleApplication.Views"
	xmlns:viewModel="clr-namespace:Goldlight.SampleApplication.ViewModels.ControlPanel"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<UserControl.Resources>
		<DataTemplate DataType="{x:Type viewModel:AccountControlPanelViewModel}">
			<view:AccountControlPanelView/>
		</DataTemplate>
		<viewModel:ControlPanelViewModel x:Key="ViewModel"/>
	</UserControl.Resources>
	<StackPanel DataContext="{StaticResource ViewModel}" Orientation="Vertical">
		<ContentControl Content="{Binding CurrentPanel}">
			<ContentControl.Background>
				<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
					<GradientStop Offset="0" Color="#FF000000"/>
					<GradientStop Offset="1" Color="#FFFFFFFF"/>
				</LinearGradientBrush>
			</ContentControl.Background>
		</ContentControl>
	</StackPanel>
</UserControl>